-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: the bug of blobsidecars and downloader with multi-database #2564
fix: the bug of blobsidecars and downloader with multi-database #2564
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
62ee8af
to
0aafc91
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
core/rawdb/accessors_chain.go
Outdated
@@ -34,6 +34,15 @@ import ( | |||
"golang.org/x/exp/slices" | |||
) | |||
|
|||
// In BEP-365: Support Multi-Database Based on Data Pattern, the Chaindata will be divided into three stores: BlockStore, TrieStore, and Others, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multi-Database is not a BEP, pls delete "In BEP-365:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
7cf1cb0
to
44decdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
core/rawdb/accessors_chain.go
Outdated
@@ -34,6 +34,15 @@ import ( | |||
"golang.org/x/exp/slices" | |||
) | |||
|
|||
// Support Multi-Database Based on Data Pattern, the Chaindata will be divided into three stores: BlockStore, TrieStore, and Others, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TrieStore -> StateStore?
Others -> ChainStore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…se (bnb-chain#2564)" This reverts commit 87e622e.
fix: some bugs for multi-database
Description
Rationale
Issue:
Improvement:
MultiDatabaseReader
interface. This allows reading meta interfaces without specifying blockStore, while Write/Delete related interfaces still require it.Example
add an example CLI or API response...
Changes
Notable changes: